#include <iostream>
#include <stdlib.h>

#include "Arguments.hh"
#include "Bitext.hh"
#include "Schedule.hh"

int main(int argc, char **argv){
  // read arguments
  Arguments args(argc, argv);
  args.dump();

  // load schedule
  Schedule schedule(args.get_schedule());
  schedule.dump();

  // load bitext and test set
  Bitext bitext(args.get_bitext());
  Bitext testset(args.get_testset());

  // hand over control to schedule
  schedule.run(bitext, testset);

  return 0;
}
